﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCQuaTrinhGianDoanBaoHiem.ascx.cs" Inherits="Viewer.NhanSu.UserControl.UCQuaTrinhGianDoanBaoHiem" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<link href="../../resources/css/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    body
    {
        color: #57585B; /*dark gray*/
        font-size: 8px;
        font-family: Arial;
    }
</style>
<ext:XScript ID="XScipt1" runat="server">
    <script type="text/javascript">
     
    </script>
</ext:XScript>
<ext:Window ID="wdQuaTrinhGianDoan" runat="server" AutoHeight="true" Closable="false" Modal="true"
    Icon="TableCell" Width="400" Layout="Fit" AutoScroll="true" Hidden="true" Resizable="true"
    BodyCssClass="window">
    <Listeners>
    </Listeners>
    <Content>
        <ext:Panel ID="Panel1" runat="server" Frame="false" Border="false" AutoHeight="true"
            Icon="Information" BodyStyle="background-color: white;">
            <Items>
                <ext:Hidden ID="hdParentType" runat="server" />
                <ext:Hidden ID="hdType" runat="server" />
                <ext:Hidden ID="hdNhanVienId" runat="server" />
                <ext:Hidden ID="hdId" runat="server" />
                <ext:CompositeField ID="CompositeField1" runat="server">
                    <Items>
                        <ext:Label Width="100" ID="lbl" runat="server" Text="Ngày bắt đầu" />
                        <ext:DateField Format="dd/MM/yyyy" ID="dtNgayHieuLuc" Vtype="daterange" runat="server"
                            AnchorHorizontal="100%" Width="100" SelectedDate="">
                            <CustomConfig>
                                <ext:ConfigItem Name="endDateField" Value="#{dtNgayHetHieuLuc}" Mode="Value" />
                            </CustomConfig>
                        </ext:DateField>
                    </Items>
                </ext:CompositeField>
                <ext:CompositeField ID="CompositeField2" runat="server">
                    <Items>
                        <ext:Label Width="100" ID="Label1" runat="server" Text=" Ngày kết thúc" />
                        <ext:DateField Format="dd/MM/yyyy" ID="dtNgayHetHieuLuc" Vtype="daterange" runat="server"
                            AnchorHorizontal="100%" Width="100" SelectedDate="">
                            <CustomConfig>
                                <ext:ConfigItem Name="startDateField" Value="#{dtNgayHieuLuc}" Mode="Value" />
                            </CustomConfig>
                        </ext:DateField>
                    </Items>
                </ext:CompositeField>
                <ext:CompositeField ID="CompositeField3" runat="server">
                    <Items>
                        <ext:Label Width="100" ID="Label2" runat="server" Text="Lý do" />
                        <ext:TextArea ID="txtLyDo" runat="server" Width="200" />
                    </Items>
                </ext:CompositeField>
                <ext:CompositeField ID="CompositeField4" runat="server">
                    <Items>
                        <ext:Label Width="100" ID="Label3" runat="server" Text="Ghi chú" />
                        <ext:TextArea ID="txtNoiDung" runat="server" Width="200" />
                    </Items>
                </ext:CompositeField>
            </Items>
        </ext:Panel>
    </Content>
    <Buttons>
        <ext:Button ID="btnSaveQTGD" runat="server" Text="Lưu" Icon="Disk">
            <DirectEvents>
                <Click OnEvent="btnSaveQTGD_CLick">
                </Click>
            </DirectEvents>
        </ext:Button>
        <ext:Button ID="Button1" runat="server" Text="Đóng" Icon="Cancel">
            <Listeners>
                <Click Handler="#{wdQuaTrinhGianDoan}.hide();" />
            </Listeners>
        </ext:Button>
    </Buttons>
</ext:Window>
